package cn.yi.medicalsys.pojo;

import java.util.Date;

/**
 * 新闻 实体类
 *
 */
public class News {
	private Integer nId;   //新闻编号
	private Integer hId;   //医院编号	
	private String ntitle;  //新闻标题	
	private String nauthor;   //新闻作者	
	private Date ncreateDate;  //创建日期
	private String nImage;   //图片路径	
	private String ncontent;  //新闻内容	
	private String nsummary;  //摘要	
	
	public Integer getnId() {
		return nId;
	}
	public void setnId(Integer nId) {
		this.nId = nId;
	}
	public Integer gethId() {
		return hId;
	}
	public void sethId(Integer hId) {
		this.hId = hId;
	}
	public String getNtitle() {
		return ntitle;
	}
	public void setNtitle(String ntitle) {
		this.ntitle = ntitle;
	}
	public String getNauthor() {
		return nauthor;
	}
	public void setNauthor(String nauthor) {
		this.nauthor = nauthor;
	}
	public Date getNcreateDate() {
		return ncreateDate;
	}
	public void setNcreateDate(Date ncreateDate) {
		this.ncreateDate = ncreateDate;
	}
	public String getnImage() {
		return nImage;
	}
	public void setnImage(String nImage) {
		this.nImage = nImage;
	}
	public String getNcontent() {
		return ncontent;
	}
	public void setNcontent(String ncontent) {
		this.ncontent = ncontent;
	}
	public String getNsummary() {
		return nsummary;
	}
	public void setNsummary(String nsummary) {
		this.nsummary = nsummary;
	}
	public News(Integer nId, Integer hId, String ntitle, String nauthor,
			Date ncreateDate, String nImage, String ncontent, String nsummary) {
		super();
		this.nId = nId;
		this.hId = hId;
		this.ntitle = ntitle;
		this.nauthor = nauthor;
		this.ncreateDate = ncreateDate;
		this.nImage = nImage;
		this.ncontent = ncontent;
		this.nsummary = nsummary;
	}
	public News() {
		super();
	}
	

}
